package com.cjx.yuanshenstartforumbackend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cjx.yuanshenstartforumbackend.common.BaseResponse;
import com.cjx.yuanshenstartforumbackend.domain.ArticleCategory;
import com.cjx.yuanshenstartforumbackend.domain.vo.ArticleCategoryVo;

import java.util.HashMap;
import java.util.List;


/**
* @author cjx
* @description 针对表【article_category(文章类别表)】的数据库操作Service
* @createDate 2023-12-23 11:07:53
*/
public interface ArticleCategoryService extends IService<ArticleCategory> {

    /**
     * 获取所有的文章类别
     * @return data数据是所有文章列表的Result类
     */
    BaseResponse<HashMap<String, List<ArticleCategoryVo>>> getCategory();

}
